import 'package:json_annotation/json_annotation.dart';

part 'Rating.g.dart';

@JsonSerializable(nullable: false)
class Rating {
  int max;
  String stars;
  int min;

  Rating(
    this.max,
    this.stars,
    this.min,
  );


  factory Rating.fromJson(Map<String, dynamic> json) => _$RatingFromJson(json);
  Map<String, dynamic> toJson() => _$RatingToJson(this);
}
